$ git clone --recursive https://github.com/DMOJ/judge.git
$ cd judge/.docker
$ make judge-tier1
$ docker run \
    -v /mnt/problems:/problems \
    --cap-add=SYS_PTRACE \
    dmoj/judge-tier1:latest \
    cli -c /problems/judge.ym

$ docker run \
    --name judge \
    -p "$(ip addr show dev enp1s0 | perl -ne 'm@inet (.*)/.*@ and print$1 and exit')":9998:9998 \
    -v /mnt/problems:/problems \
    --cap-add=SYS_PTRACE \
    -d \
    --restart=always \
    dmoj/judge-tier1:latest \
    run -p "$PORT" -c /problems/judge.yml \
    "$IP" "$JUDGE_NAME" "$JUDGE_AUTHENTICATION_KEY"
########################
$ apt install python3-dev python3-pip build-essential libseccomp-dev
$ pip3 install dmoj
$ dmoj -c judge.yml -p "$PORT" "$IP"